﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DingChiServiceApp
{
    public interface IHaulBillService
    {

        /// <summary>
        /// 查找需要上传 的联单
        /// </summary>
        /// <param name="rows"> 条数 </param> 
        /// <param name="upTime"> 上一次上传数据的时间 </param>
        /// <returns></returns>
        [Obsolete("已过时，被  SelectNoUps(int rows) 代替",true)]
        List<HaulBill> SelectNeenUps(int rows, string upTime);

        /// <summary>
        /// 查找 没有上传的数据
        /// </summary>
        /// <param name="rows"></param>
        /// <returns></returns>

        List<HaulBill> SelectNoUps(int rows,string startDate);

        int UpdateUpGoverment(HaulBill bill);
    }
}
